package com.example.dante.a17376060_wanghaikang_finaltest.cn.example.main.cn.example.domain;

import java.util.HashSet;
import java.util.Set;

public class User {
    private String user_name;
    private String user_password;
    private Integer user_id;
    private String image_path;
    private Set<News> news=new HashSet<>();

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Set<News> getNews() {
        return news;
    }

    public void setNews(Set<News> news) {
        this.news = news;
    }

    public String getImage_path() {
        return image_path;
    }

    public void setImage_path(String image_path) {
        this.image_path = image_path;
    }

    @Override
    public String toString() {
        return "User{" +
                "news=" + news +
                '}';
    }
}
